package com.ym.soso.domain.param;

import com.ym.common.annotations.CustomConstraint;
import com.ym.base.domain.MobileSearchParam;
import com.ym.base.enums.FlagEnum;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @Author: DaiKuangYin
 * @Date: 2020/1/8 15:20
 */
@Data
@ApiModel("药店查询入参")
public class PharmacyInfoQryParam extends MobileSearchParam {

    @ApiModelProperty("药店名称")
    private String theName;

    @ApiModelProperty(notes = "送药上门")
    @CustomConstraint(FlagEnum.class)
    private String theSend;

    @ApiModelProperty(notes = "医生坐症")
    @CustomConstraint(FlagEnum.class)
    private String hasDoc;

    @ApiModelProperty("搜索相关度排序")
    private boolean keywordSort;

}
